<%--
  Created by IntelliJ IDEA.
  User: wjy
  Date: 2017/9/13
  Time: 09:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%>
<%@ page import="java.net.URLEncoder" %>
<html>
<head>
    <title>未登陆的中转页面</title>
</head>
<br>
未登陆的中转页面：<br/>
<%
    String code = request.getParameter("code");
    //String redirectUrl = URLEncoder.encode("http://localhost:8080/haveLogin.jsp","utf-8");
    String redirectUrl = "http://localhost:8080/haveLogin.jsp";
    response.sendRedirect("https://oa.dingtalk.com/omp/api/micro_app/admin/landing?corpid=ding295cdf10f5ed5ff035c2f4657eb6378f&redirect_url=" + redirectUrl);
%>
</body>
</html>
